//
//  CNTVTabbarView.h
//  CNTV_iPhone
//
//  Created  on 3/4/12.
//  Copyright (c) 2012 CNTV. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CommonTabbarController;

@interface CommonTabbarView : UIScrollView {
    CommonTabbarController *_tabbarctrl;
    UIButton *_lastSelectedBtn;
}

@property (nonatomic, assign) CommonTabbarController* tabbarctrl;
@property (nonatomic, retain) UIButton *lastSelectedBtn;


-(void)initCtrl;

-(void)selectTabByIndex:(NSInteger)prmIndex;
-(void)switchView:(UIButton *)sender;
@end
